package com.class5.springboot.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class SysMenuListVo implements Serializable {

    /**主键(id)*/
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /**角色ID(role_id)*/
    private Long roleId;

    /**菜单url(menu_url)*/
    private String menuUrl;

    /**菜单名称(menu_name)*/
    private String menuName;

    /**父菜单级别(menu_level)*/
    private String menuLevel;

    /**父菜单Id(parent_id)*/
    private Long parentId;

    /**子菜单*/
    private List<SysMenuListVo> childMenuList;
}
